import request from '@/utils/request'


export function enterAccountList(data) { //设备设施入账-列表
    return request({
        url: '/project-management/api/assetsEntry/page',
        method: 'post',
        data
    })
}
export function enterAccountApprovalList(data) { //设备设施入账-审批列表
    return request({
        url: '/project-management/api/assets/audit/pi/e/page',
        method: 'post',
        data
    })
}
export function enterAccountListAll(data) { //设备设施入账-列表all
    return request({
        url: '/project-management/api/assetsEntry/assetsEntry',
        method: 'post',
        data
    })
}
export function enterAccountAdd(data) { //设备设施入账-添加
    return request({
        url: '/project-management/api/assetsEntry/add',
        method: 'POST',
        data
    })
}
//原 put
export function enterAccountEdit(data) { //设备设施入账-修改
    return request({
        url: '/project-management/api/assetsEntry/edit',
        method: 'post',
        data
    })
}
export function enterAccountDetail(id) { //设备设施入账-单条查询
    return request({
        url: '/project-management/api/assetsEntry/' + id,
        method: 'get',
    })
}
//原 del 
export function enterAccountDelete(id) { //设备设施入账-单条查询删除
    return request({
        url: '/project-management/api/assetsEntry/del/' + id,
        method: 'get',
    })
}
//测试
export function enterAccountTestMsg(data) { //设备设施入账-测试
    return request({
        url: '/sys-center/api/ApiController/add',
        method: 'post',
        data,
    })
}




